setEnterSharedElementCallback

When custom transitions are used with Fragments, the enter transition callback is called when this Fragment is attached or detached when not popping the back stack.

Parameters

callback

Used to manipulate the shared element transitions on this Fragment when added not as a pop from the back stack.